Dataverse users: The complete replication materials are available at https://goo.gl/r8rEOh.


This folder contains replication files for:

Kropko, Jonathan and Jeffrey J. Harden. “Beyond the Hazard Ratio: Generating Expected Durations from the Cox Proportional Hazards Model.” Forthcoming, British Journal of Political Science.

1. R function. This folder contains R script files that perform the Cox ED methods. See also the coxed R package. NOTE: the most up-to-date version of these functions is available at https://github.com/jkropko/coxed, for now, until we are able to upload the package to CRAN.

2. Replication. This folder contains R script files that perform the replications. Note that the original data are not included. See the original authors’ websites for those data files.

3. Simulation. This folder contains R script files that perform the simulations reported in the appendix.

4. Meta analysis. This folder contains R script files and other files associated with our journal article meta analysis reported in the appendix.

5. Code demonstrations. This folder contains two PDF files, one demonstrating the use of the cox.ed() function in R, and one demonstrating the use of the coxed command in Stata.

Please contact us with any questions: jkropko@virginia.edu; jeff.harden@nd.edu.